/*
编写 : Hexh
时间 : 2012-7-9 10:48:32
*/
using System;
using System.Collections.Generic;
using FsCarInfo.Core.Entity;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;

namespace FsCarInfo.Facade
{
	/// <summary>
	///	 the interface of IFsGatelogListFacade
	/// </summary>
	public interface IFsGatelogListFacade : IDomainFacade
	{

		FsGatelogList Get(string id);

		FsGatelogList Load(string id);

		void SaveOrUpdate(FsGatelogList entity);

		void SaveLog(FsGatelogList entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<FsGatelogList> GetAll();

		IList<FsGatelogList> GetPlistAll(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		IList<FsGatelogList> GetPlist(string DepartmentId, string GateId, string CardUid,
			string ApprState, string State, int start, int limit,
			string sort, string dir, List<DataFilter> filters, out long total);

	}
}
